#include "head.h"

int main(int argc,char *argv[])
{
    ARGS_CHECK(argc,4);
    int childNum=atoi(argv[3]);
    processData_t *workerList=(processData_t *)calloc(childNum,sizeof(processData_t));
    make_child(workerList,childNum);//创建子进程

    int sock_fd;
    tcp_init(argv[1],argv[2],&sock_fd);
    while (1)
    {
        /* code */
    }
    
}